<script type="text/javascript"> var d=new Date() theDay=d.[...](day of the week)() switch (theDay) { case 0: document.write("Sleepy Sunday") break default: document.write("I'm looking forward to Sunday!") }